Crosas, Mercè; Gautier, Julian; Karcher, Sebastian; Kirilova, Dessi; Otalora, Gerard; Schwartz, Abby, 2018, "Replication Data for: Data policies of highly-ranked social science journals", https://doi.org/10.7910/DVN/CZYY1N, Harvard Dataverse, V1

The data accompany the working paper Data policies of highly-ranked social science journals by the above authors.

The first folder, policy_data_and_analysis, contains the following files:

1. journal_policy_data_20190629.tsv - tab separated data as coded
2. analysis-20190629.Rmd - an Rmd file which includes R scripts for all figures and numbers presented in the paper as well as additional analysis. It also generates the codebook with variable descriptions and summary statistics. The file will run if all libraries are installed and journal_policy_data.tsv is placed in the same folder
3. analysis_output_20190629.pdf  - knitr output of analysis.Rmd
4. codebook_2019-07-01.txt - codebook with variable labels, descriptions, and summary statistics, auto-generated from data using the memisc::codebook command

Analysis conducted using
R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

with the following packages
memisc 0.99.17.2 
MASS 7.3-51.4
lattice 0.20-38  
here 0.1
margins 0.3.23
extrafont 0.17
ggplot2 3.2.1
dplyr 0.8.0.1
tidyr 0.8.3


Contact Sebastian Karcher (karcher@u.northwestern.edu) with any questions about the analysis

The second folder, study_comparison_data_and_analysis, contains the following files:

1. studycomparison.tsv - tab separated data as coded
2. studycomparisonanalysis.Rmd - an Rmd file which includes R scripts for querying the data to return the results reported in the paper. It also generates the codebook with variable descriptions and summary statistics. The file will run if all libraries are 
installed and studycomparison.tsv is placed in the same folder
3. codebook_2019-08-26.txt - codebook with variable labels, descriptions, and summary statistics, auto-generated from data using the memisc::codebook command

Analysis conducted using
R version 3.6.1 (2019-07-05)
with the following libraries:

here 0.1
memisc 0.99.14.9
readr 1.3.1
sqldf 0.4-11


Contact Julian Gautier (juliangautier@g.harvard.edu) with any questions about the analysis.